package com.maket.scxx.service.impl;

import com.maket.scxx.domain.JyxmInspectionItemsAndJybzStandards;
import com.maket.scxx.mapper.JyxmInspectionItemsAndJybzStandardsMapper;
import com.maket.scxx.service.JyxmInspectionItemsAndJybzStandardsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@SuppressWarnings("all")
@Service
public class JyxmInspectionItemsAndJybzStandardsServiceImpl implements JyxmInspectionItemsAndJybzStandardsService {

    @Autowired
    private JyxmInspectionItemsAndJybzStandardsMapper jyxmInspectionItemsAndJybzStandardsMapper;
    @Override
    public int insertXm(JyxmInspectionItemsAndJybzStandards jybzInspectionStandardsAndCpProduct) {
        return jyxmInspectionItemsAndJybzStandardsMapper.insertXm(jybzInspectionStandardsAndCpProduct);
    }

    @Override
    public List<JyxmInspectionItemsAndJybzStandards> selectWithBzCode(String bzCode) {
        return jyxmInspectionItemsAndJybzStandardsMapper.selectWithBzCode(bzCode);
    }

    @Override
    public int deleteByBzCode(String bzCode) {
        return jyxmInspectionItemsAndJybzStandardsMapper.deleteByBzCode(bzCode);
    }
}
